package com.lee.serviceagent.module.employee.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lee.serviceagent.module.employee.domain.entity.EmployeeEntity;
import com.lee.serviceagent.module.employee.domain.form.EmployeeQueryForm;
import com.lee.serviceagent.module.employee.domain.vo.EmployeeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 *  Dao
 *
 * @Author lee
 * @Date 2024-09-12 17:11:30
 * @Copyright lee
 */

@Mapper
@Component
public interface EmployeeDao extends BaseMapper<EmployeeEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<EmployeeVO> queryPage(Page page, @Param("queryForm") EmployeeQueryForm queryForm);



}
